IC including Logic Tile, having Reconfigurable MAC Pipeline, and Reconfigurable Memory

ABSTRACT

An integrated circuit including configurable multiplier-accumulator circuitry, wherein, during processing operations, a plurality of the multiplier-accumulator circuits are serially connected into pipelines to perform concatenated multiply and accumulate operations. The integrated circuit includes a first memory and a second memory, and a switch interconnect network, including configurable multiplexers arranged in a plurality of switch matrices. The first and second memories are configurable as either a dedicated read memory or a dedicated write memory and connected to a given pipeline, via the switch interconnect network, during a processing operation performed thereby; wherein, during a first processing operations, the first memory is dedicated to write data to a first pipeline and the second memory is dedicated to read data therefrom and, during a second processing operation, the first memory is dedicated to read data from a second pipeline and the second memory is dedicated to write data thereto.

RELATED APPLICATION

This non-provisional application claims priority to and the benefit of U.S. Provisional Application No. 62/900,044, entitled “IC including Logic Tile, having Reconfigurable Multiply-Accumulator Circuits, and Reconfigurable Memory”, filed Sep. 13, 2019. The '044 provisional application is hereby incorporated herein by reference in its entirety.

INTRODUCTION

There are many inventions described and illustrated herein. The present inventions are neither limited to any single aspect nor embodiment thereof, nor to any combinations and/or permutations of such aspects and/or embodiments. Importantly, each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects of the present inventions and/or embodiments thereof.

In one aspect, the present inventions are directed to multiplier-accumulator circuitry and techniques for operating such circuitry. In one embodiment, the multiplier-accumulator circuitry of the present inventions include a plurality of separate multiplier-accumulator circuits and a plurality of registers (including a plurality of shadow registers) that facilitate pipelining of the multiply and accumulate operations. Moreover, the multiplier-accumulator circuitry further facilitates concatenating the multiply and accumulate operations thereby allowing a plurality of multiplier-accumulator circuitry to perform such operations more quickly. The extent or length of the concatenation (i.e., number of multiplier-accumulator circuits interconnected to implement or perform the multiply and accumulate operations) may be adjusted (i.e., increased or decreased), for example, in situ (i.e., during operation of the integrated circuit), for example, to meet system requirements or constraints (e.g., temporal-based requirements of system performance).

In another aspect, the present inventions are directed to an integrated circuit having a plurality of multiplier-accumulator circuits and techniques for operating such circuits. In one embodiment, the integrated circuit is a field programmable gate array (FPGA) or embedded FPGA (herein collectively “FPGA”). Briefly, an FPGA is an integrated circuit that is configured and/or reconfigured (hereinafter, unless stated otherwise, collectively “configured” or the like (e.g., “configure” and “configurable”)) by a user, operator, customer and/or designer before and/or after manufacture. The FPGA may include programmable logic components (often called “logic cells”, “configurable logic blocks” (CLBs), “logic array blocks” (LABs), or “logic tiles”—hereinafter collectively “logic tiles”)). In one embodiment of the present inventions, one or more (or all) logic tiles include a plurality of multiplier-accumulator circuits to implement multiply and accumulate operations, for example, in a pipelining manner. Moreover, one or more (or all) of the logic tiles may also include a switch interconnect network (which may be, e.g., configured as a hierarchical and/or mesh interconnect network), associated data storage elements, input pins and/or look-up tables (LUTs) that, when programmed, determine the configuration and/or operation of the switches/multiplexers and, among other things, the communication between circuitry (e.g., logic components) within a logic tile and/or between circuitry of multiple logic tiles.

The multiplier-accumulator circuits in the one or more (or all) of the logic tiles may also be connected and configured in a concatenation architecture to facilitate concatenating the multiply and accumulate operations thereby allowing a plurality of multiplier-accumulator circuitry to perform such operations more quickly. Indeed, in one embodiment, the integrated circuit includes multiplier-accumulator circuitry like that described above—i.e., a plurality of separate multiplier-accumulator circuits and a plurality of registers (including a plurality of shadow registers) that facilitate pipelining of the multiply and accumulate operations.

Moreover, in one embodiment, in addition to being connected in series (in concatenation architecture), the plurality of multiplier-accumulator circuits are organized into a plurality of rows, each row including a plurality of multiplier-accumulator circuits. The rows of multiplier-accumulator circuits may be connected or disconnected to adjust the extent or length of the concatenation (i.e., increase or decrease the number of multiplier-accumulator circuits interconnected to perform the multiply and accumulate operations).

In one embodiment, the switch interconnect network directly connects to at least one multiplier-accumulator circuit in each row of multiplier-accumulator circuits to, among other things, provide flexibility in configuring, adjusting, modifying and/or changing (i) which multiplier-accumulator circuits (and/or rows of multiplier-accumulator circuits) are employed and/or interconnected to implement or perform the multiply and accumulate operations and/or (ii) the number of multiplier-accumulator circuits that are employed and/or interconnected to perform the multiply and accumulate operations. As noted above, such configuration, selection, modification and/or adjustment may be implemented, for example, in situ (i.e., during operation of the integrated circuit) to, for example, meet or exceed temporal-based system requirements or constraints.

In one embodiment, the switch interconnect network may facilitate transmitting weight data to memory employed to store such data for access and use by the multiplier-accumulator circuits. In one embodiment, the switch interconnect network may facilitate transmitting weight data to memory of the multiplier-accumulator circuits for use in the multiplication operations. Moreover, the switch interconnect network may provide a conduit to/from logic circuitry of the associated logic tile or a different logic tile to/from multiplier-accumulator circuits (individually) of the rows of multiplier-accumulator circuits. Such conduit may be configurable and/or reconfigurable—for example, in situ (i.e., during normal operation of the integrated circuit) and/or at or during power-up, start-up, initialization, re-initialization, configuration, reconfiguration or the like.

Notably, the integrated circuit may be, for example, a processor, controller, state machine, gate array, system-on-chip (SOC), programmable gate array (PGA) and/or FPGA.

As mentioned above, there are many inventions described and illustrated herein. The present inventions are neither limited to any single aspect nor embodiment thereof, nor to any combinations and/or permutations of such aspects and/or embodiments. Moreover, each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects of the present inventions and/or embodiments thereof. For the sake of brevity, certain permutations and combinations are not discussed and/or illustrated in detail separately herein.

BRIEF DESCRIPTION OF THE DRAWINGS

The present inventions may be implemented in connection with embodiments illustrated in the drawings hereof. These drawings show different aspects of the present inventions and, where appropriate, reference numerals, nomenclature, or names illustrating like circuits, architectures, structures, components, materials and/or elements in different figures are labeled similarly. It is understood that various combinations of the structures, components, materials and/or elements, other than those specifically shown, are contemplated and are within the scope of the present inventions.

Moreover, there are many inventions described and illustrated herein. The present inventions are neither limited to any single aspect nor embodiment thereof, nor to any combinations and/or permutations of such aspects and/or embodiments. Moreover, each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects of the present inventions and/or embodiments thereof. For the sake of brevity, certain permutations and combinations are not discussed and/or illustrated separately herein. Notably, an embodiment or implementation described herein as “exemplary” is not to be construed as preferred or advantageous, for example, over other embodiments or implementations; rather, it is intended reflect or indicate the embodiment(s) is/are “example” embodiment(s).

Notably, the configurations, block/data width, data path width, bandwidths, data lengths, values, processes, pseudo-code, operations, and/or algorithms described and/or illustrated in the FIGURES, and text associated therewith, are exemplary. Indeed, the inventions are not limited to particular circuit, logical, block, functional and/or physical diagrams, block/data width, data path width, bandwidths, values, processes, pseudo-code, operations, and/or algorithms illustrated and/or described in accordance with, for example, the exemplary circuit, logical, block, functional and/or physical diagrams.

FIG. 1A is a schematic circuit-block diagram of an exemplary embodiment of multiplier-accumulator circuitry according to according to certain aspects of the present inventions, wherein, in this exemplary embodiment, the multiplier-accumulator circuitry includes two multiplier-accumulator circuits—a first including multiplier 0 and accumulator 0 and a second circuit including multiplier 1 and accumulator 1; in addition, the multiplier-accumulator circuitry further includes a plurality of shadow registers (including shadow register 0 and shadow register 1) that stores the input data until transferred to the registers (i.e., registers 0 and 1, respectively) for use by multiplier circuits multiplier 0 and multiplier 1, respectively; in this exemplary embodiment, the multiplier-accumulator circuitry also includes load/store registers that facilitate continual operation of the multiplier-accumulator circuitry while the data is shifting in and out (see, e.g., load/store shadow register A and load/store shadow register B); notably, the multiplier weights are stored in memory (e.g., ROM) and selectively provided (in relation to the input data associated therewith) to the multiplier 0 and multiplier 1, via address data (ADDR) provided to the multiplier-accumulator circuitry; the multiplier 0 and multiplier 1 perform the multiplication operations using the multiplier weights; in the illustrative embodiments, the multiplier-accumulator circuitry is, at times, labeled and referred to herein as “NMAX” or “2-NMAX”;

FIG. 1B is a schematic circuit-block diagram of an exemplary embodiment of the weights circuit, according to according to certain aspects of the present inventions, of the exemplary embodiment of multiplier-accumulator circuitry of FIG. 1A; the weight data are provided to the multiplier circuits of the multiplier-accumulator circuitry via D1_w and D0_w to perform the multiplication operation; notably, in this embodiment, the weight data may be transferred or transmitted to the weights circuit via a plurality of paths/techniques (as discussed below) and thereafter storage into memory (e.g., ROM) of the weights circuit via weight data select multiplexer (MUX); in one embodiment, data may be input, transferred into the weight circuits via the interconnect network (WD_I); in another embodiment, data may be input or transferred via local connections through adjacent/succeeding multiplier-accumulator circuitry (WD_NI/WD_SI), which may be driven by, for example logic cells, memories, or other multiplier-accumulator circuits;

FIG. 1C is a schematic circuit diagram of an exemplary embodiment of a load/store register implemented in the exemplary embodiment of multiplier-accumulator circuitry of FIG. 1A, according to according to certain aspects of the present inventions; in one embodiment, the load/store register facilitates continual operation of the multiplier-accumulator circuitry while the data is shifting in and out (see, e.g., load/store shadow register A and load/store shadow register B in FIG. 1A); in this exemplary embodiment, the load/store register allows data transfer between the “white” regular register and the “shaded” (or “hashed”—hereinafter the shaded or hashed shift-registers are referred to as “shaded” shift-register) shadow shift-register; for example, when the multiply and accumulate operations of the multiplier-accumulator circuitry is complete, the output data are first stored in the “white” regular registers wherein MAC_ST control signal then allows data transfer from the white regular registers unto/into the “shaded” shift-registers; MAC_LD is employed to transfer data from the “shaded” shift-registers unto/into the “white” regular registers; notably, both MAC_ST and MAC_LD may occur in the same clock cycle, in which case the data in the “white” regular registers and “shaded” shift-registers are swapped;

FIG. 2A illustrates an exemplary timing diagram of exemplary multiplication—accumulation operations of multiplier-accumulation circuitry (e.g., the operation of circuitry of FIG. 1A), in accordance with an embodiment of certain aspects of the present inventions; notably, in this embodiment, the multiplier-accumulation circuitry is configured in a pipeline architecture wherein input data is loaded or clocked into the multiplier-accumulation circuitry, while other data is loaded or clocked into or transferred to the registers for use by circuitry implementing or performing the multiply-and-accumulate operations, while other data is stored from the multiplier-accumulator circuitry as output data and unloaded (that is, shifted to output MAC_SO of FIG. 1A); the aforementioned processes continue in a pipelined fashion; certain of the information identified on the exemplary timing diagrams (e.g., number of operations, number of cycles and amount of time) are merely exemplary (e.g., in certain respect, pertinent to the exemplary architecture of the multiplier-accumulator circuitry of FIG. 1A); such information is not intended to be limiting, in any way, to the scope of the present inventions;

FIGS. 2B-2E each illustrate selected portions, as identified in FIG. 2A, of the exemplary timing diagram of exemplary multiplication—accumulation operations of multiplier-accumulation circuitry (e.g., the operation of multiplier-accumulation circuitry of FIG. 1A), in accordance with an embodiment of certain aspects of the present inventions;

FIG. 3 illustrates a block diagram of a plurality of interconnected multiplier-accumulator circuitry, having a plurality (e.g., two) multiplier-accumulator circuits—for example, a first including multiplier 0 and accumulator 0 and a second circuit including multiplier 1 and accumulator 1, like that of FIG. 1A, according to an embodiment of certain aspects of the present inventions, to perform/implement the multiply and accumulate operations in a concatenated manner (see, e.g., FIGS. 2A and 11A) wherein, in this illustrated embodiment, each multiplier-accumulator circuitry outputs/provides a partially completed operation (e.g., at output MAC O—see, e.g., FIG. 1A) to an input (e.g., at input MAC I—see, FIG. 1A) of a successive multiplier-accumulator circuitry to advance the process/processing, in a concatenated manner, towards completion; notably, the multiplier-accumulator circuitry (having a plurality (e.g., two) multiplier-accumulator circuits) of FIG. 1A may be considered a multiplier-accumulator circuitry design cell wherein a plurality of interconnected multiplier-accumulator circuitry is connected, in a concatenation architecture, to perform/implement the multiply and accumulate operations; in certain configurations (programmed in-situ or reconfigured), the output (e.g. MAC_O) of a subsequent or later multiplier-accumulator circuit (e.g., the final multiplier-accumulator of a series) is concatenated back to the input of a preceding multiplier-accumulator circuit (e.g., the first (e.g. MAC_I) of the first multiplier-accumulator of the series) to complete or implement the desired multiplier-accumulator circuitry of a certain configuration;

FIG. 4 illustrates a functional block diagram of an exemplary integrated circuit (e.g., a discrete or embedded processor, controller, state machine, gate array, SOC, PGA and/or FPGA) including a plurality of multiplier-accumulator circuits each of which implement multiply and accumulate operations, according to certain aspects of the present inventions; in one embodiment, the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are interconnected in a manner that implements pipelining processing and a concatenation architecture;

FIG. 5A illustrates a functional block diagram of an exemplary discrete FPGA integrated circuit or embedded FPGA integrated circuit (e.g., an integrated circuit including an FPGA and processor such as a digital signal processor), according to certain aspects of the present inventions, wherein the integrated circuit includes a plurality of multiplier-accumulator circuits each of which implement multiply and accumulate operations; in one embodiment, the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are interconnected in a manner that implements pipelining processing and a concatenation architecture; in one embodiment the FPGA includes a plurality of logic tiles in addition to control circuitry, timing or clock circuitry, and power supply circuitry; notably, each logic tile may include switches/multiplexers having two or more inputs which are electrically interconnected to form a switch interconnect network (e.g., which may be configured as a hierarchical and/or mesh interconnect network), associated data storage elements, input pins and/or look-up tables (LUTs) that, when programmed, determine the operation of the switches/multiplexers; in one embodiment, one or more (or all) of the logic tiles includes one or more computing elements (e.g., a plurality of multiplier-accumulator circuitry—labeled as “NMAX Rows” in FIG. 5A and “NMAX Cluster” in the logic tile layout or physical floorplan illustrated in FIGS. 5B and 5C), and a switch interconnect network (e.g., a mixed-mode interconnect network (i.e., a hierarchical switch matrix interconnect network and a mesh, torus or the like interconnect network (hereinafter collectively “mesh network” or “mesh interconnect network”));

FIGS. 5B and 5C illustrates an exemplary layout or floorplan of one or more (or all) of the logic tiles of the exemplary integrated circuit of FIG. 5A, according to certain aspects of the present inventions, wherein the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are labeled as “NMAX Cluster”; notably, the tile-to-tile interconnects are employed to electrically connect to one or more logic tiles (e.g., logic tiles that are physically located or disposed adjacent thereto) and, in one embodiment, connect the switch interconnect networks of the one or more logic tiles (e.g., connect the switch interconnect networks of logic tiles that are physically located or disposed adjacent thereto); moreover, in one embodiment, the NMAX Clusters (i.e., the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are also connected to the interconnect network and, as such, to logic circuitry of the FPGA and the processor as well as the NMAX Clusters, logic circuitry of the FPGA and the processor of other logic tiles (e.g., logic tiles that are physically located or disposed adjacent thereto); in addition, the NMAX Clusters are directly connected to memory disposed adjacent or located thereto;

FIG. 5D illustrates an exemplary layout or floorplan of a logic tile (e.g., a tile having the layout of FIG. 5C) according to certain aspects of the present inventions, wherein, in one embodiment, the logic tile includes multiplier-accumulator circuitry, logic-memory and/or DSP cores and includes more than a thousand LUTs (e.g., 6-input LUTs) from hundreds of reconfigurable building blocks (RBBs), including Kb RAM, and hundreds of I/O blocks (e.g., 2-input, 2-output each); as intimated herein, the logic tiles may be “tiled” to form an array (e.g., like that in FIGS. 6A and 6B) wherein switch interconnect networks of the logic tiles are interconnected (e.g., via a mesh network of one of the stages of the mixed hierarchical-mesh interconnect network) via data stored in, for example, the LUTs; notably, as stated above, the inventions are not limited to a particular physical layout or floorplan, illustrated and/or implemented in accordance with, for example, the exemplary physical layouts or floorplans of FIGS. 5B-5D;

FIG. 6A illustrates a block diagram representation of, for example, an exemplary integrated circuit including control circuitry, timing or clock circuitry, power supply circuitry and programmable/configurable logic circuitry (which includes a plurality of logic tiles, one, some or all of which may include transistors configured to perform combinational and/or sequential functions (simple and/or complex), multiplier-accumulator circuitry (e.g., circuitry like that described and illustrated herein including, for example, the multiplier-accumulator circuitry of FIGS. 1A-1C) and circuitry to implement techniques for operating such multiplier-accumulator circuitry (e.g., circuitry and techniques like that described and illustrated herein including, for example, the circuitry, timing and architecture intimated in FIGS. 2A-2E, 3, 5A-5D, 7A-7C, 8, 9, 10, and 11A-11E); one, some or all of which may also include transistors and circuitry (that may be interconnected, for example, as switches or multiplexers having two or more inputs which are electrically interconnected into a switch interconnect network (see, for example, the interconnect networks described and/or illustrated in U.S. Pat. No. 9,503,092 and U.S. Provisional Patent Application No. 62/735,988; the '092 patent and '988 application are incorporated herein by reference) as well as connected to, for example, associated data storage elements, input pins and/or lookup tables that, when programmed, determine the operation and connectivity of the multiplexers)); notably, in one embodiment, each logic tile of the programmable/configurable logic circuitry includes a plurality of multiplexers which are electrically interconnected into a network (for example, a hierarchical network and/or mesh, torus or the like interconnect network (hereinafter collectively “mesh network”); the switch interconnect network of each logic tile may be connected to one or more other logic tiles of the array via a configurable mesh network; indeed, in one embodiment, the highest stage of the mixed-mode switch interconnect architecture is a mesh interconnect (here, a plurality of switch matrices of the highest stage of a logic tile is connected to one or more of the switch matrices of that stage in that logic tile and one or more switch matrices of the highest stage (i.e., mesh stage) in at least one other logic tile); the lower stages of interconnect network in each logic tile may implement a hierarchical network; this notwithstanding, another mesh network/stage may be implemented as a substitute and replacement of one or more of the hierarchical network of the lower stages;

FIG. 6B illustrates, among other things, a block diagram representation of a physical array of a plurality of logic tiles of, for example, an exemplary FPGA (as noted above “FPGA” may be a discrete or embedded FPGA), wherein input/output (I/Os) of the logic tiles may facilitate communication between the logic tiles and/or between certain logic tiles and circuitry external to the programmable/configurable logic circuitry; notably, the programmable/configurable logic circuitry may be comprised of a plurality of programmable logic tiles wherein each logic tile includes a plurality of multiplexers which are electrically interconnected into a network (for example, a hierarchical network and/or mesh network); notably, as intimated above, the logic tile interconnect network of each logic tile may include a plurality of switch matrices (e.g., an M×N switch matrix) arranged in a plurality of switch matrix stages or switch matrices stages which are interconnected into a logic tile interconnect network via logic tile interconnects (see, e.g., the interconnect networks described and/or illustrated in U.S. Pat. No. 9,503,092 and U.S. Provisional Patent Application No. 62/735,988)—accordingly, in one embodiment, the logic tiles are configurable to communicate, during operation of the integrated circuit, within the logic tile (e.g., between computing elements/circuitry) as well as with at least one other logic tile of the FPGA;

FIG. 7A illustrates a schematic circuit and block diagram, correlated to the layout of FIG. 5C, of certain features of an exemplary embodiment of a logic tile including a plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are labeled as “2-NMAX Row”, according to certain aspects of the present inventions; in this embodiment, the 2-NMAX Rows (i.e., the plurality of multiplier-accumulator circuits—e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A wherein much of the nomenclature/signal names is adopted or applied to the schematic circuit diagram of FIG. 7A) are also connected to an interconnect network that facilitates interfacing or communicating with the plurality of multiplier-accumulator circuits (e.g., individually or as a group (e.g., wherein a plurality of multiplier-accumulator circuits are configured in a concatenation architecture (e.g., as illustrated in FIG. 3) via the conductors of the NLINX interface connector); notably, in this illustrative embodiment, the plurality of interconnected multiplier-accumulator circuits of the row of multiplier-accumulator circuits are directly connected (that is, without connection through or via the interconnect network) to an adjacent row via row interconnects to facilitate pipelining processing and provide a concatenation architecture; in one embodiment, the row interconnects directly connect the output of last multiplier-accumulator circuit of a first row of multiplier-accumulator circuits to the input of a first multiplier-accumulator circuit of a second row of multiplier-accumulator circuits; in addition thereto, the NLINX interface connector may be configured to connect adjacent and/or non-adjacent rows of multiplier-accumulator circuits to facilitate pipelining processing and provide a concatenation architecture; for example, route selection circuitry (e.g., multiplexer(s)) of the NLINX interface connector may be configured to connect the output of last multiplier-accumulator circuit of a row of multiplier-accumulator circuits to an input of a first multiplier-accumulator circuit of one or more different rows (adjacent and/or non-adjacent) of multiplier-accumulator circuits; as noted above, in one embodiment, the interconnect network connects the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) to logic circuitry of the logic tile, circuitry of other logic tiles (e.g., logic tiles that are physically located or disposed adjacent thereto) and/or circuitry of the FPGA; in addition, in this illustrative embodiment, the multiplier-accumulator circuits of the NMAX Rows are directly connected to memory disposed on-chip (e.g., adjacent thereto and/or located at the edges of the top and bottom rows of multiplier-accumulator circuits—see, e.g. FIGS. 5B and 5C) to receive, for example, weight data for use in the multiplication operations; the rows of multiplier-accumulator circuit receive, for example, weight data and/or forward such data to the adjacent row of multiplier-accumulators (FIG. 1B); notably, the schematic circuit diagram of FIG. 7A may be implemented to realize the functional block diagram of an exemplary discrete FPGA integrated circuit or embedded FPGA integrated circuit (e.g., an integrated circuit including an FPGA and processor such as a digital signal processor) illustrated in FIG. 5A and may be implemented via the exemplary physical layout or floorplan of the logic tile illustrated in FIGS. 5C and 5D;

FIGS. 7B and 7C each illustrate selected portions, as identified in FIG. 7A, of the schematic circuit and block diagram of the exemplary logic tile of FIG. 7A; notably, NLINX multiplexers of the NLINX interface may be configured to interconnect one or more adjacent and/or non-adjacent rows of multiplier-accumulator circuits wherein an output of a row of multiplier-accumulator circuits (MAC_O) may be selectively connected to an input of a different row of multiplier-accumulator circuits (MAC_I); here, the NLINX interface connector, and specifically the NLINX multiplexers and NLINX conductors, in this illustrative embodiment, are configurable to interconnect rows of multiplier-accumulator circuits whereby the NLINX multiplexers may controlled to connect an output of last multiplier-accumulator circuit of a row of multiplier-accumulator circuits to an input of a first multiplier-accumulator circuit of a different row of multiplier-accumulator circuits; for the avoidance of doubt, as stated above, the inventions are not limited to a particular circuit or block, layout and/or physical diagrams, block/data width, data path width, bandwidths and/or values, illustrated and/or implemented in accordance with, for example, the exemplary circuit diagram of FIGS. 7A-7C; for example, although the plurality of multiplier-accumulator circuits are described/illustrated as a “row” of multiplier-accumulator circuits, the plurality may be described as a “column” of multiplier-accumulator circuits where the layout of the plurality of multiplier-accumulator circuits were vertical; both of which are intended to fall within the scope of the present inventions and the meaning of “row” unless explicitly indicated otherwise;

FIG. 8 illustrates a schematic circuit diagram of an exemplary embodiment of data extension circuitry and address extension circuitry for memory (e.g., SRAM) of, for example, the weight/data memory associated with multiplier-accumulator circuits of, for example, one or more rows of multiplier-accumulator circuits illustrated in, for example, the logic tile of FIG. 7A, according to one embodiment certain aspects of the present inventions; notably, the data extension circuitry effectively increases the data output by the memory (effectively wider than each individual SRAM data ports), thereby permitting the data representative of the multiplier weights to write data in parallel into the weight/data SRAM banks which accelerates the operations of writing the appropriate data into the weight/data SRAM banks; address extension circuitry reduces the input/output pins/conductors employed to interface with the interconnect network of the logic tile; a ping-pong buffer permits an odd/even read-write technique/approach to facilitate writing and read data to/from each bank of SRAM at the same time, as long as the read address is odd and the write address is even, or vice versa; notably, address extension and data extension may be employed in one embodiment or configuration, such as writing the data into the SRAM banks via address extension, and thereafter transferring or reading the data from SRAM banks and writing the data into memory (e.g., ROM—see, e.g. FIG. 1A) of the multiplier-accumulator circuitry via data extension;

FIG. 9 illustrates an exemplary configuration of a plurality of multiplier-accumulator circuits, for example, of one or more logic tiles (e.g., logic tiles of FIGS. 5A-5D, 6A, 6B and 7A-7C), may be configured and reconfigured (e.g., in situ (i.e., during operation of the integrated circuit)) to perform predetermined multiple-accumulate operations (e.g., operations typically performed by neural networks) including organized/configured into systolic arrays to implement the three layers of convolution (i.e., Operations A, B and C), according to certain aspects of the present invention; for example, the processing of Operation A may be implemented via two rows of interconnected multiplier-accumulator circuitry of 256 NMAX each, each would require eight rows of 16 2-NMAX rows (see, FIGS. 7A-7C); the result of Operation A (see OUT) is summed and may be stored in local memory and/or output to processing circuitry (e.g., a DSP) via the interconnect network of the logic tile for further data processing; the processing of Operation B may be implemented via nine rows of interconnected multiplier-accumulator circuitry of 256 NMAX each; the result of Operation B (see OUT) is summed and may also be stored in local memory and/or output to processing circuitry (e.g., a DSP) via the interconnect network of the logic tile for further data processing; and the processing of Operation C may be implemented via four rows of interconnected multiplier-accumulator circuitry of 256 NMAX each; the results of Operation C (see OUT) may again be stored in local memory and/or output to processing circuitry (e.g., a DSP) via the interconnect network for further data processing; notably, the configurations and systolic arrays illustrated in FIG. 8 are exemplary and the inventions are not limited to processes and/or algorithms implemented in accordance with such exemplary operations, configurations and/or arrays illustrated in FIG. 9;

FIG. 10 illustrates an exemplary 2-stage 4×4 fully connected layer exemplary configuration mapped directly to a plurality of multiplier-accumulator circuitry, according to certain aspects of the present inventions; notably, in one embodiment, where the present inventions are implemented in neural networks, configuration of the multiplier-accumulator circuitry, including the exemplary configuration illustrated in FIG. 10, may be implemented using an inference language (e.g., executing Caffe or TensorFlow models), as illustrated;

FIG. 11A illustrates an exemplary timing diagram of exemplary multiplication—accumulation operations of multiplier-accumulation circuitry (e.g., the operation of circuitry of FIG. 1A), in accordance with an embodiment of certain aspects of the present inventions; notably, in this embodiment, the multiplier-accumulation circuitry is configured in a pipeline architecture wherein input data is loaded or clocked into the multiplier-accumulation circuitry, while other data is loaded or clocked into or transferred to the registers for use by circuitry implementing or performing the multiply-and-accumulate operations, while other data is stored from the multiplier-accumulator circuitry as output data and unloaded or output (that is, shifted to output MAC_SO of FIG. 1A); the aforementioned processes continue in a pipelined fashion; certain of the information identified on the exemplary timing diagrams (e.g., number of operations, number of cycles and amount of time) are merely exemplary (e.g., in certain respect, pertinent to the exemplary architecture of the multiplier-accumulator circuitry of FIG. 1A); such information is not intended to be limiting, in any way, to the scope of the present inventions;

FIGS. 11B-11E each illustrate selected portions, as identified in FIG. 11A, of the exemplary timing diagram of exemplary multiplication—accumulation operations of multiplier-accumulation circuitry (e.g., the operation of multiplier-accumulation circuitry of FIG. 1A), in accordance with an embodiment of certain aspects of the present inventions; notably, the shadow registers (e.g., within the multiplier-accumulator circuitry—see FIG. 1A) may be employed to facilitate or implement the pipelined operations;

FIG. 12 illustrates a schematic block diagram of a plurality of interconnected multiplier-accumulator circuitry (for example, each having a plurality (e.g., two) multiplier-accumulator circuits—for example, a first including multiplier 0 and accumulator 0 and a second circuit including multiplier 1 and accumulator 1, like that of FIG. 1A), according to exemplary embodiments of certain aspects of the present inventions, to perform/implement the multiply and accumulate operations in a concatenated manner (see, e.g., FIGS. 2A and 11A); in the illustrated embodiments, the multiplier-accumulator circuitry output/provide a partially completed operation (e.g., at output MAC O—see, e.g., FIG. 1A) to an input (e.g., at input MAC I—see FIG. 1A) of a successive multiplier-accumulator circuitry to process data, in a concatenated manner, wherein the output of a multiplier-accumulator circuitry X is configurable to be input into a preceding multiplier-accumulator circuitry (e.g., multiplier-accumulator circuitry A in this illustrative embodiment); thus, as noted above, the output (e.g. MAC_O) of a subsequent or later multiplier-accumulator circuit (e.g., the final multiplier-accumulator of a series—here, the multiplier-accumulator circuit of multiplier-accumulator circuitry X) is concatenated and applied back into the input of a preceding multiplier-accumulator circuit (e.g., the first of multiplier-accumulator circuit (e.g. MAC_I) of multiplier-accumulator circuitry A); in this embodiment, input selection circuit may be controlled to input multiple-accumulation data from (i) a multiplier-accumulator circuit of multiplier-accumulator circuitry X (i.e., the same ring) or (ii) a multiplier-accumulator circuit of another multiplier-accumulator circuitry (e.g., a multiplier-accumulator circuit in the same ring or another ring) of the configuration;

FIG. 13A illustrates an exemplary layout or floorplan of one or more (or all) of the logic tiles of the exemplary integrated circuit of FIG. 5A, according to certain aspects of the present inventions, wherein the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are labeled as “NMAX Clusters” wherein the plurality of multiplier-accumulator circuitry may be organized or arranged in rows (See FIGS. 7A-7C) and interconnected in a concatenated manner (see, e.g., FIG. 3); notably, the tile-to-tile interconnects are employed to electrically connect to one or more logic tiles (e.g., logic tiles that are physically located or disposed adjacent thereto) and, in one embodiment, connect the switch interconnect networks of the one or more logic tiles (e.g., connect the switch interconnect networks of logic tiles that are physically located or disposed adjacent thereto); moreover, in one embodiment, the NMAX Clusters (i.e., the plurality of multiplier-accumulator circuits (e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) are also connected to the interconnect network and, as such, to logic circuitry of the FPGA and the processor as well as the NMAX Clusters, logic circuitry of the FPGA and the processor of other logic tiles (e.g., logic tiles that are physically located or disposed adjacent thereto); the NMAX Clusters, in one embodiment, may be directly connected to “local” memory (memory disposed within the logic tile); in addition, the I/O may be connected to memory (e.g., in this illustrative embodiment, SRAM, such as L2 SRAM) located or disposed (e.g., physically) adjacent thereto wherein such memory may be employed in connection with the multiple-accumulate operations of the plurality of multiplier-accumulator circuits;

FIG. 13B illustrates an exemplary configuration of multiplier-accumulator circuits ((e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) which are labeled as “NMAX Clusters”) of a logic tile having a layout or floorplan like that of FIG. 13A, according to exemplary embodiments of certain aspects of the present inventions, wherein the plurality of multiplier-accumulator circuits may be organized or arranged in rows (See FIGS. 7A-7C) and interconnected in a concatenated manner (see, e.g., FIG. 3) which is represented by the signal paths (including the arrows to indicate the direction of the multiple-accumulate operations) in the NMAX Clusters blocks/sections of the logic tile; notably, in this configuration, rows of the multiplier-accumulator circuits of the NMAX Clusters are interconnected wherein a “first” multiplier-accumulator circuit of each interconnect row is connected to external memory (in this configuration, Memory A—which is physically located “external” to the logic tile), via the I/O, wherein data is read from Memory A into such multiplier-accumulator circuits of each NMAX Cluster block/section and the “last” multiplier-accumulator circuit of each interconnect row is connected to external memory (in this configuration, Memory B—which is physical located “external” to the logic tile), via the I/O, wherein the results of the multiple-accumulate operations (intermediate or final) are stored in Memory B; control signals are generated and provided to various circuitry via logic of the tile (e.g., circuitry of Logic A, Logic B, Logic C and Logic D sections/blocks); moreover, the interconnect network may be configured to connect the rows of multiplier-accumulator circuits to the I/O of the logic tile (See FIGS. 7A-7C); in this embodiment, the connections of the multiplier-accumulator circuits may be configured and reconfigured (e.g., in situ (i.e., during operation of the integrated circuit)) to perform predetermined multiple-accumulate operations including, for example, organized/configured into systolic arrays to implement the predetermined layers of convolution (e.g., 3×3, 32, stride 2), according to certain aspects of the present invention; notably, the configuration illustrated in FIG. 13B is exemplary and the inventions are not limited to processes and/or algorithms implemented in accordance with such exemplary operations, configurations and/or arrays; and

FIG. 13C illustrates another exemplary configuration of multiplier-accumulator circuits ((e.g., a plurality of the multiplier-accumulator circuitry of FIG. 1A) which are labeled as “NMAX Clusters”) of a logic tile having a layout or floorplan like that of FIG. 13A, according to exemplary embodiments of certain aspects of the present inventions, wherein the plurality of multiplier-accumulator circuits may be organized or arranged in rows (See FIGS. 7A-7C) and interconnected in a concatenated manner (see, e.g., FIG. 3) which is represented by the signal paths (including the arrows to indicate the direction of the multiple-accumulate operations) in the NMAX Clusters blocks/sections of the logic tile; notably, in this configuration, rows of the multiplier-accumulator circuits of the NMAX Clusters are interconnected wherein a “first” multiplier-accumulator circuit of each interconnect row is connected to external memory (in this configuration, Memory B—which, as noted above, is physically located “external” to the logic tile), via the I/O, wherein data is read from Memory B into such multiplier-accumulator circuits of each NMAX Cluster block/section and the “last” multiplier-accumulator circuit of each interconnect row is connected to external memory (in this configuration, Memory A—which, as noted above, is physically located “external” to the logic tile), via the I/O, wherein the results of the multiple-accumulate operations (intermediate or final) are stored in Memory A; as noted above, the I/O may be connected to memory (e.g., in this illustrative embodiment, SRAM, such as L2 SRAM) wherein such memory may be employed in connection with the multiple-accumulate operations of the plurality of multiplier-accumulator circuits; control signals are generated and provided to various circuitry via logic of the tile (e.g., circuitry of Logic A, Logic B, Logic C and Logic D sections/blocks); moreover, the interconnect network may be configured to connect the rows of multiplier-accumulator circuits to the I/O of the logic tile (See FIGS. 7A-7C); in this embodiment, the connections of the multiplier-accumulator circuits may be configured and reconfigured (e.g., in situ (i.e., during operation of the integrated circuit)) to perform predetermined multiple-accumulate operations including, for example, organized/configured into systolic arrays to implement the predetermined layers of convolution (e.g., 3×3, 32), according to certain aspects of the present invention; notably, the configuration illustrated in FIG. 13C is exemplary and the inventions are not limited to processes and/or algorithms implemented in accordance with such exemplary operations, configurations and/or arrays.

Notably, the logic tiles illustrated in FIGS. 13B and 13C have been simplified for the purposes of clarity in order to describe, focus, highlight and/or illustrate certain aspects of the circuitry and techniques of the present inventions. For example, the tile-to-tile interconnects, the NLINX interface connector, NLINX multiplexers and row interconnects are not illustrated (compare, e.g., FIGS. 7A-7C and 13A).

Again, there are many inventions described and illustrated herein. The present inventions are neither limited to any single aspect nor embodiment thereof, nor to any combinations and/or permutations of such aspects and/or embodiments. Each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects of the present inventions and/or embodiments thereof. For the sake of brevity, many of those combinations and permutations are not discussed or illustrated separately herein.

DETAILED DESCRIPTION

In a first aspect, the present inventions relate to multiplier-accumulator circuitry and techniques for operating such circuitry. In one embodiment, the multiplier-accumulator circuitry of the present inventions include a plurality of separate multiplier-accumulator circuits and a plurality of registers (including a plurality of shadow registers) that facilitate pipelining of the multiply and accumulate operations. Moreover, the multiplier-accumulator circuitry further includes circuitry that facilitating implementation or incorporation into a concatenation architecture whereby a plurality of multiplier-accumulator circuitry concatenate the multiply and accumulate operations. In this way, the plurality of multiplier-accumulator circuitry may perform and/or complete such operations more quickly and/or with fewer/less data movement and memory access. Notably, the extent or length of the concatenation (i.e., number of multiplier-accumulator circuits employed and/or interconnected to implement or perform the multiply and accumulate operations) may be modified, changed or adjusted (i.e., increased or decreased), for example, in situ (i.e., during operation of the integrated circuit) to, for example, meet system requirements or constraints (e.g., temporal-based requirements).

In one embodiment, the multiplier-accumulator circuitry also includes load/store registers (two interconnected registers wherein the output of each register is routed to the input of the other register), located at the output of the accumulation circuit to facilitate continual operation of the multiplier-accumulator circuitry while data is shifting in and out of the multiplier-accumulator circuitry. In this way, the multiplier-accumulator circuitry may perform operations on multiple clock edges thereby complete such operations in a continual, pipelined basis. Notably, the load and store operations of the load/store registers may occur in the same clock cycle, in which case the data in the regular register and the data in shadow shift-register are swapped.

In another aspect, the present inventions relate to an integrated circuit having a plurality of multiplier-accumulator circuits and techniques for operating such circuits. For example, in one embodiment, the integrated circuit is a FPGA including a plurality of logic tiles—wherein one or more of such tiles include a plurality of multiplier-accumulator circuits to implement multiply and accumulate operations, for example, in a pipelining manner. Moreover, such multiplier-accumulator circuits may further facilitate concatenating the multiply and accumulate operations thereby allowing a plurality of multiplier-accumulator circuitry to perform such operations more quickly. Indeed, the extent or length of the concatenation (i.e., number of multiplier-accumulator circuits employed and/or interconnected to implement or perform the multiply and accumulate operations) may be modified, changed or adjusted (i.e., increased or decreased), for example, in situ (i.e., during operation of the integrated circuit) to, for example, meet system requirements or constraints (e.g., temporal-based requirements).

With reference to FIG. 1A, in one embodiment, the exemplary multiplier-accumulator circuitry includes two separate multiplier-accumulator circuits—a first multiplier-accumulator circuit including multiplier 0 and accumulator 0 and a second multiplier-accumulator circuit including multiplier 1 and accumulator 1. The multiplier-accumulator circuitry further includes a plurality of shadow registers (including shadow register 0 and shadow register 1) that store the input data until transferred to a second set of registers (i.e., register 0 and register 1, respectively) for use by multiplier 0 and multiplier 1, respectively. The multiplier weights are stored in memory (e.g., ROM) and are selectively provided (in relation to the input data associated therewith) to the multiplier 0 and multiplier 1 to execute or perform the multiplication operation. Notably, in the illustrative embodiments, the multiplier-accumulator circuitry is, at times, labeled “2-NMAX” or “NMAX”.

With reference to FIGS. 2A and 2B, in one embodiment, in operation, input data is initially clocked into and stored in the shadow registers (i.e., shadow register 0 and shadow register 1) of the multiplier-accumulator circuitry during the Cycles 0 to Cycle 4. On Cycle 5, the input data is clocked into, stored in or transferred to the registers (i.e., registers 0 and 1, respectively) for use by multiplier 0 and multiplier 1 in performance of the multiplication operation (in connection with the weight data, stored in memory, that is associated with the input data). (See, Cycle 6 in FIG. 2C). Thereafter, the output of each multiplier is provided to the associated accumulator and the weighted input data is accumulated before new input data and a new weight data (associated with such “new” input data) is transferred to the multiplier. (See, the clock edge corresponding to end of Cycle 6-start of Cycle 7). These processes continue in a pipelined fashion.

After operating on the input data and accumulating the weighted data, additional operations (e.g., non-linear operations, activation functions) may be performed on the accumulated weighted data during data unloading, or after the data is unloaded. For example, with reference to FIG. 2D, during Cycles 11, 12, 13 and 14, the accumulated weighted data may be applied to additional operations (i.e., any operation now known or later developed may be implemented/employed—all of which are intended to fall within the scope of the present inventions). The additional operations may be performed while new input data is being loaded (from shadow registers) into the registers connected to and associated with the multiplication circuits of the multiplier-accumulator circuitry, and while output data being unloaded or output. In this embodiment, the data loading/input operations (including the multiplications and accumulation), and unloading/output operations are performed and continue in this pipelined fashion. (See, for example, FIGS. 2B-2E).

Notably, in one embodiment, the architecture of the exemplary multiplier-accumulator circuitry is organized to allow for or perform the multiply and accumulate operations illustrated in FIG. 2A in a concatenated manner. In this regard, the multiplier-accumulator circuitry outputs/provides the partially completed operation (e.g., at output MAC O) illustrated in FIG. 1C to an input (e.g., at input MAC I) of a second multiplier-accumulator circuitry (see FIG. 1A) which is connected to the first multiplier-accumulator circuitry (see FIG. 3). The plurality of connected multiplier-accumulator circuitry form a pipeline (which may also be referred to herein as a MAC pipeline). In addition thereto, or in lieu thereof, the output of the multiplier-accumulator circuitry may also be provided to other circuitry, for example, memory. That is, the data may be output or shifted-out of the multiplier-accumulator circuitry at the MAC SO output and the output data generated by the multiplier-accumulator circuitry may be, in one embodiment, stored in memory.

The data of the multiplication weights may be stored in memory associated with the multiplier-accumulator circuitry using any circuitry and technique now known or later developed—all of which are intended to fall within the scope of the present inventions. For example, in one embodiment, such data may be stored in memory of a plurality of multiplier-accumulator circuitry via the circuitry of FIG. 1B. The circuitry and operation of FIG. 1B will be discussed below in connection with other embodiments.

With reference to FIGS. 1A and 1C, in one embodiment, the multiplier-accumulator circuitry includes load/store registers that facilitate continual operation of the multiplier-accumulator circuitry while the data is shifting in and out. (See, e.g., load/store shadow register A and load/store shadow register B in FIG. 1A). That is, the load/store register allows data transfer between the “white” regular register and the “shaded” (or “hashed”) shadow shift-register. Here, when the multiply and accumulate operations is complete, the output data are first stored in the “white” regular registers. MAC_ST control signal then allows data transfer from the white regular registers unto/into the “shaded” shift-registers. Moreover, if the “white” regular registers need to be initialized to a certain value, the “shaded” shift-registers can shift in the initialization data, and use MAC_LD to transfer data from the “shaded” shift-registers unto/into the “white” regular registers. Both MAC_ST and MAC_LD may occur in the same clock cycle, in which case the data in the “white” regular registers and “shaded” (shadow) shift-registers are swapped.

Notably, with continued reference to FIG. 1A, data may be applied/input directly to the load/store shadow register A and load/store shadow register B via input MAC SI wherein data is shifted into the “shaded” or “hashed” shift-registers. Here, a by-pass circuit (including, e.g., a multiplexer) may be employed to by-pass certain of the multiplier-accumulator circuitry (e.g., including the multiplier-accumulator circuit of multiplier 0 and accumulator 0) wherein data on input signal MAC_SI may be stored in the “shaded” shift-register of the load/store register(s) at the output of accumulator 0. Similarly, a by-pass circuit (e.g., a multiplexer) may be employed to by-pass the multiplier-accumulator circuitry of multiplier 1 and accumulator 1 wherein the data from the “shaded” shift-register of the load/store register(s) at the output of accumulator 0 may be stored in the “shaded” shift-register of the load/store register(s) at the output of accumulator 1. In one embodiment, data (e.g., initialization data) may be shifted into the registers, and via application of MAC_LD control signal, such data may be transferred data from the “shaded” (shadow) shift-registers unto/into the “white” regular registers for use by or implementation into the multiplier-accumulator circuitry. In one embodiment, the data stored in the load/store register(s) (i.e., load/store shadow register B in this illustrative embodiment), via the by-pass circuit, may then be output to, for example, successive multiplier-accumulator circuitry where the plurality of multiplier-accumulator circuitry are interconnected in a concatenation architecture or configuration. (See, e.g., FIG. 3). The plurality of connected multiplier-accumulator circuitry form a MAC pipeline. The multiplier-accumulator circuitry may thereafter perform the operations, including the multiplication and accumulation operations, as described herein. Notably, multiplier-accumulator circuit(s) may be referred to herein, at times, as “MAC”, MACs, “MAC circuit” and/or “MAC circuits”.

In another aspect, the present inventions are directed to an integrated circuit having a plurality of logic tiles—wherein one or more (or all) of such tiles includes a plurality of multiplier-accumulator circuits (e.g., multiplier-accumulator circuitry illustrated in FIG. 1A-1C—i.e., a plurality of separate multiplier-accumulator circuits and a plurality of registers (including a plurality of shadow registers) that facilitate pipelining of the multiply and accumulate operations), to implement multiply and accumulate operations, for example, in a pipelining manner (i.e., employ pipeline processing techniques). (See, e.g., FIG. 4). In one embodiment, the integrated circuit is or includes an FPGA (as noted above, “FPGA” herein means discrete FPGA or embedded FPGA) coupled to and/or including a plurality of multiplier-accumulator circuitry (labeled as “NMAX Rows”). (See, e.g., FIG. 5A). The multiplier-accumulator circuitry may be organized in rows and/or columns (hereinafter collectively “rows” or “Rows”). That is, in one embodiment, the plurality of multiplier-accumulator circuits are connected in series (in concatenation architecture) and organized into a plurality of rows, each row including a plurality of multiplier-accumulator circuits. As discussed in detail below, the rows of multiplier-accumulator circuits may be connected or disconnected to adjust the extent or length of the concatenation (i.e., increase or decrease the number of multiplier-accumulator circuits interconnected to perform the multiply and accumulate operations).

Notably, the integrated circuit may include “local” memory (e.g., SRAM, DRAM, MRAM, ROM and/or Flash memory) used during operation (e.g., during/for data processing of the FPGA and/or multiplier-accumulator circuitry). (See, e.g., FIGS. 4 and 5A).

In one embodiment, the FPGA portion of the integrated circuit includes a plurality of logic tiles. (See, e.g., FIGS. 6A and 6B). The FPGA may also include control circuitry, timing or clock circuitry, and power supply circuitry. In one embodiment, each logic tile may include a plurality of multiplexers having two or more inputs which are electrically interconnected to form a switch interconnect network (e.g., which may be configured as a hierarchical and/or mesh interconnect network) as well as connected to, for example, associated data storage elements, input pins and/or look-up tables (LUTs) that, when programmed, determine the operation of the multiplexers).

With reference to FIGS. 5B, 5C and 5D, one or more (or all) of the logic tiles may also include one or more computing elements (e.g., a plurality of multiplier-accumulator circuits—such as, for example, a plurality of the multiplier-accumulator circuitry of FIG. 1A interconnected as illustrated in FIG. 3). (See regions labeled “NMAX Cluster” in the logic tile layout or physical floorplan illustrated in FIGS. 5B and 5C). As noted above, an interconnect network (e.g., a mixed-mode interconnect network (i.e., a hierarchical switch matrix interconnect network and a mesh, torus or the like interconnect network (hereinafter collectively “mesh network” or “mesh interconnect network”)). For example, with reference to FIG. 5D, in one embodiment, each logic tile may include multiplier-accumulator circuitry, logic-memory and/or DSP cores and contain more than a thousand LUTs (e.g., 6-input LUTs) from hundreds of reconfigurable building blocks (RBBs), including Kb RAM, and hundreds of I/O blocks (e.g., 2-input, 2-output each). As noted above, the logic tiles may be “tiled” to form an array from, for example, the LUTs.

In one embodiment, the switch interconnect network of each logic tile may include a plurality of switch matrices (e.g., an M×N switch matrix) arranged in a plurality of switch matrix stages or switch matrices stages which are interconnected into a hierarchical interconnect network. (See, for example, the interconnect networks described and/or illustrated in U.S. Pat. No. 9,503,092, which are incorporated herein by reference). In one embodiment, the switch interconnect network directly connects to at least one multiplier-accumulator circuit in each row of multiplier-accumulator circuits to, among other things, provide flexibility in configuring, adjusting, modifying and/or changing (i) which multiplier-accumulator circuits (and/or rows of multiplier-accumulator circuits) are employed and/or interconnected to implement or perform the multiply and accumulate operations and/or (ii) the number of multiplier-accumulator circuits that are employed and/or interconnected to perform the multiply and accumulate operations. As noted above, such configuration, selection, modification and/or adjustment may be implemented, for example, in situ (i.e., during operation of the integrated circuit) to, for example, meet or exceed system requirements or constraints.

The switch interconnect networks of the logic tiles may also be interconnected via tile-to-tile interconnects of a tile-to-tile interconnect network (e.g., a mesh interconnect network wherein a plurality of tile-to-tile interconnects provide communications between, for example, the one or more switch matrices of the logic tile interconnect networks of the logic tiles). As such, logic tiles are configurable to communicate (e.g., provide/receive data and address and provide control information), during operation of the integrated circuit, with the computing elements (e.g., a plurality of multiplier-accumulator circuitry) within the logic tile as well as with at least one other logic tile of the FPGA. Moreover, such logic tiles are configurable to interconnect computing elements (e.g., (i) processor circuitry (e.g., one or more one or more digital signal processors (DSPs)) and (ii) the plurality of multiplier-accumulator circuitry) of or within the same logic tile and/or different logic tiles od the FPGA of the integrated circuit.

With reference to FIGS. 5C, 5D and 7A-7C, as mentioned above, one or more (or all) logic tiles of the FPGA of the integrated circuit include a plurality of multiplier-accumulator circuits (labeled “NMAX Rows” or “NMAX Clusters”) which are the multiplier-accumulator circuitry (e.g., the multiplier-accumulator circuitry described above and as illustrated in FIGS. 1A-1C). In these exemplary embodiments, a plurality of multiplier-accumulator circuits are connected together as illustrated in FIG. 3 to provide rows of multiplier-accumulator circuits. The rows of multiplier-accumulator circuits are disposed between and connected to weight/data memory (e.g., SRAM memory banks—See FIGS. 5B and 5C). In one embodiment, the weight/data memory stores data which is representative of the multiplier weight data employed in the multiplication operation for a plurality of the multiplier-accumulator circuitry. The weight/data memory, in one embodiment, may receive the data which is representative of the multiplier weights via the interconnect network. That is, in one embodiment, control circuitry manages/controls writing of data which is representative of the multiplier weights into the weight/data memory e.g., SRAM memory banks) via the interconnect network. Thereafter, the multiplier weight data may be written into the memory (e.g., ROM) of multiplier-accumulator circuitry which selectively provides the weight data (in relation to the input data associated therewith) to the multiplier 0 and multiplier 1 (as the case may be) to perform the multiplication operation (see FIG. 1A).

With continued reference to FIGS. 5C, 5D and 7A-7C, in another embodiment, the weight/data memory may receive the data which is representative of the input data via the interconnect network. Such data may be read, provided or arrive from, for example, an external memory (e.g., DRAM—which may be physically located “external” to the integrated circuit) or other on-chip memory (i.e., memory disposed or manufactured in/on the integrated circuit (e.g., on-chip SRAM)). Indeed, in another embodiment, the weight/data memory may receive and store data from one or more NMAX clusters (e.g., output data from NMAX circuitry (such as from other NMAX circuitry which is in the associated/same logic tile or a different logic tile of the plurality of logic tiles) or another set of NMAX clusters (such as from another NMAX cluster which is in the associated/same logic tile or a different logic tile of the plurality of logic tiles). In either embodiment, the input data is shifted into the data input (e.g. D0_1, or D1_I port of FIG. 1A) of the NMAX circuitry or NMAX cluster. Such connection may be provided between, for example, NMAX circuitry of the same or different logic tile via the interconnect network of the logic tile.

In yet another embodiment, the weight/data memory may receive the data which is representative of the partially-accumulated MAC data via the interconnect network. Such data may arrive/be provided from, for example, an external memory (e.g., DRAM—which may be physically located “external” to the integrated circuit, another on-chip memory (e.g., on-chip SRAM), or the output of one or more other NMAX circuitry or NMAX clusters (i.e., another set of NMAX clusters). Thereafter, the partially-accumulated MAC data is shifted into the MAC shadow-register input (e.g. MAC_SI port of FIG. 1A) of the NMAX cluster to initialize the MAC processing operations of the NMAX circuitry in those NMAX clusters to the partially-accumulated MAC data to continue the multiply and accumulation processing or operations. Such connection, in one embodiment, is provided/made via the switch interconnect network of the logic tile.

Notably, in one embodiment, where the weight/data memory includes SRAM memory banks, it may be advantageous to employ a modified addressing circuitry and technique to write the data into the SRAM. With reference to FIG. 8, the technique for addressing the SRAM may include (in addition to the address circuitry in the SRAM), the circuitry that facilitates writing to more of the SRAM via the data extension technique and address extension technique. With data extension, the SRAMs are effective wider than each individual SRAM data ports, thereby permitting the data representative of the multiplier weights to write data in parallel into the weight/data SRAM banks (e.g. Q0 and Q8 in FIG. 8 are 32-bit data interfaces, each can write to 2 SRAM at the same time), thereby accelerating the operations of writing the appropriate data into the weight/data SRAM banks. Address extension allows for access of individual SRAM banks without requiring individual addressing for each SRAM bank (e.g. SRAM12, 13, 14, 15 in FIG. 8 share a common output data Q8[31:16], and share a common input data D8[31:16], but they are individually addressable via XA[11] and XA[12]), by having one address applied to the SRAM address extension circuitry, a plurality of SRAM banks behave, function or operate as a single, “deeper” SRAM bank. Indeed, implementing an address extension reduces the input/output pins/conductors employed to interface with the interconnect network (e.g. SRAM8, 9, 10, 11, 12, 13, 14, and 15 in FIG. 8 share one set of inputs and output data port (D8, Q8) and one set of control inputs (WA8, XA8, WE8, CE8, SLP8, SD8)). In addition, a ping-pong buffer permits an odd/even read-write technique/approach to facilitate writing and read data to/from each bank of SRAM at the same time.

Indeed, the odd/even read-write technique/approach to concurrently write data to and read data from the different banks of the weight memory (here, SRAM) enhances the processing time of the MAC pipeline. For example, in one embodiment, while the multiplier-accumulator circuits are in a first MAC pipeline to process data during a first data processing operation (using the weight data stored in a first bank of weight memory), the second bank of weight memory may be written to and store (for example, via the interconnect network), weight data for use in a subsequent, second data processing operation. In this way, once the first data processing operation is complete, the multiplier-accumulator circuits are prepared to and may immediately start the second data processing operation using the second bank of weight memory (as opposed to waiting for the weight memory to be filled with weight data employed in connection with the second data processing operation)—for example, while configured in the first MAC pipeline or after being reconfigured into a second MAC pipeline. Notably, with respect to odd/even read-write technique/approach to facilitate writing and read data to/from each bank of SRAM at the same time, it may be advantageous for the read address to be odd and the write address to be even, or vice versa.

The data of the multiplication weights may be stored in the memory associated with the multiplier-accumulator circuitry using any circuitry and technique now known or later developed—all of which are intended to fall within the scope of the present inventions. As mentioned above, in one embodiment, such data may be stored in memory of a plurality of multiplier-accumulator circuitry employing the circuitry illustrated in FIG. 1B. Briefly, and with reference to FIGS. 1B, 5C and 7C, the weight data may be written into the memory (e.g., ROM) associated with the multiplier-accumulator circuitry directly via the associated interconnect network, which is connected to input WD_I, or via the weight/data memory (e.g., SRAM memory banks) which is connected to inputs WD NI and/or WD SI. The weight data selection multiplexer (MUX) in the multiplier-accumulator circuitry determines which input is selected/enabled (i.e., connected to the output of the multiplexer) and thereby provided to the memory to facilitate writing data into the memory (e.g., ROM) of the multiplier-accumulator circuitry.

Where the memory (e.g., ROM) of each multiplier-accumulator circuitry is written to directly via the input WD I, the interconnect network connects to the input WD I via WD_I of the NLINX interface connector to directly and serially/sequentially write the data to the memory of each multiplier-accumulator circuitry by shifting in the data. In one embodiment, the NLINX interface connector includes a WD_I connection/output for each two rows of 2-NMAX multiplier-accumulator circuitry to connect to the WD I signal line associated with each of multiplier-accumulator circuitry of the two rows of 2-NMAX multiplier-accumulator circuitry. (See, FIGS. 7A-7C).

Where, however, the weight data is written into the rows of multiplier-accumulator circuits from the weight/data memory (e.g., SRAM memory banks) disposed between and connected to memory in each multiplier-accumulator circuitry via the signals lines WD NI and/or WD IS, the memory writes the data into the memory (e.g., ROM) of each multiplier-accumulator circuitry in each row of multiplier-accumulator circuitry in parallel. The weight data for each row of multiplier-accumulator circuitry may be written serially/sequentially. As such, the time to write the weight data into the rows of multiplier-accumulator circuits in this embodiment may be considerably faster than the direct and serial/sequential write operation from the associated logic tile interconnect network via WD_I of the NLINX interface connector to the input WD I of each row of multiplier-accumulator circuitry.

As noted above, in one embodiment, logic circuitry (e.g., one or more computing elements such as, e.g., processor circuit (e.g., a data processor or digital signal processor), controller circuit, an accelerator, a data encryption engine, a filter, an encoder, a state machine and/or combinational logic circuit) is located adjacent to the weight/data memory (e.g., SRAM memory banks) and between the weight/data memory and the I/O circuitry. (See, e.g., FIGS. 5C and 7A-7C). The computing elements may be configured to connect to the interconnect network of the logic tile (e.g., a hierarchical interconnect network and/or a mixed-mode interconnect network, U.S. Pat. No. 9,503,092). The interconnect network of the logic tile may connect the computing elements of the logic tile to computing elements or other circuitry in other logic tiles via tile-to-tile interconnects of a tile-to-tile interconnect network (e.g., a mesh interconnect network). Here, the tile interconnect network are connected to interconnect networks of other logic tiles (e.g., adjacent logic tiles of, for example, an array of logic tiles—see, for example, FIGS. 5B, 5C and 6B) via the tile-to-tile interconnect network which provides or facilitate configurable or reconfigurable communication/connection to other logic tiles (e.g., circuitry (e.g., one or more computing elements) disposed therein) of the plurality of logic tiles (e.g., which may be arranged in an array of one or more rows and/or columns).

With reference to FIGS. 5B and 5C, in one embodiment, the interconnect network of the logic tile is disposed in the center or spine of the logic tile and the tile-to-tile interconnects are illustrated as double arrow lines disposed on the edges of the logic tile (except for those double arrow lines illustrated in the I/O or I/O circuitry and labeled accordingly).

Notably, I/O circuitry is disposed on the edges to facilitate configurable or reconfigurable connection to circuitry external to the logic tile (or array of logic tiles), such as, for example, connection to circuitry of a system-on-chip (SOC) of the integrated circuit, external memory interface circuitry (e.g., DRAM interface to interface with memory which is physically located “external” to the integrated circuit) and/or one or more memory blocks that are disposed between logic tiles (see, e.g., U.S. Pat. No. 9,973,194, which is incorporated by reference herein).

With reference to FIGS. 7A-7C, as noted above, in one embodiment, the plurality of multiplier-accumulator circuitry are organized and/or configured into rows of interconnected multiplier-accumulator circuitry. In this embodiment, each row of multiplier-accumulator circuitry (which consists of a plurality of interconnected multiplier-accumulator circuits) is connected to another row of a plurality of multiplier-accumulator circuitry via row interconnects whereby certain outputs of a row of multiplier-accumulator circuitry are connected to and applied as inputs to the second row of a plurality of interconnected multiplier-accumulator circuitry. For example, with additional reference to FIGS. 1A and 3, the MAC O of the last multiplier-accumulator circuitry in a first row of interconnected multiplier-accumulator circuitry is connected to the MAC I of the first multiplier-accumulator circuitry in a second row of interconnected multiplier-accumulator circuitry. The row interconnects further include other outputs/inputs of the interconnected multiplier-accumulator circuitry of, for example, the embodiment illustrated in FIG. 1A. In the detailed illustrated exemplary embodiment of FIG. 7A-7C, the two rows of multiplier-accumulator circuits (interconnected via row interconnects) consist of 32 blocks of 2-NMAX multiplier-accumulator circuitry (e.g., like that illustrated in FIG. 1A) wherein each row includes 16 blocks of the 2-N MAX multiplier-accumulator circuitry (each of which includes two multiplier-accumulator circuits).

In one embodiment, the extent or length of the concatenation (i.e., number of multiplier-accumulator circuits interconnected to implement or perform the multiply and accumulate operations) may be adjusted (i.e., increased or decreased), for example, in situ (i.e., during operation of the integrated circuit). For example, with reference to FIGS. 7A-7C, in one embodiment, more than two rows of multiplier-accumulator circuits may be interconnected to provide a longer or larger number or string of interconnected multiplier-accumulator circuitry. For example, the second row of multiplier-accumulator circuitry (see 2-NMAX Row B in FIG. 7C) may be further connect to the third row of multiplier-accumulator circuitry (see 2-NMAX Row C in FIG. 7C) via the NLINX multiplexers and conductors of the NLINX interface connector. Moreover, NLINX multiplexers and conductors of the NLINX interface may be configured to interconnect one or more adjacent and/or non-adjacent rows of multiplier-accumulator circuits. For example, an output of a row of multiplier-accumulator circuits (see MAC_O of Row D in FIG. 7C) may be selectively connected to an input of a non-adjacent row of multiplier-accumulator circuits (see MAC_I of Row A in FIG. 7C). As such, the NLINX interface connector, and specifically the NLINX multiplexers in this illustrative embodiment, is configurable to interconnect rows of multiplier-accumulator circuits wherein the NLINX multiplexers controllably connect an output of last multiplier-accumulator circuit of a row of multiplier-accumulator circuits to an input of a first multiplier-accumulator circuit of one or more different row of multiplier-accumulator circuits. Notably, in this illustrative embodiment, two rows of multiplier-accumulator circuits correspond to an NMAX Cluster (see, e.g., FIGS. 5B and 5C) wherein the two rows of multiplier-accumulator circuits of a Cluster are connected via row interconnects (see, e.g., FIGS. 7B and 7C).

In addition, NLINX multiplexers and conductors of the NLINX interface connector may be configured to connect adjacent rows of multiplier-accumulator circuits wherein an output of a row of multiplier-accumulator circuits (see MAC_O of Row D in FIG. 7C) may be selectively connected to an input of an adjacent row of multiplier-accumulator circuits (see MAC_I of Row C in FIG. 7C) via the NLINX multiplexers disposed therebetween. As such, in one embodiment, the third row of multiplier-accumulator circuitry is connected to a fourth row of multiplier-accumulator circuitry (see 2-NMAX Row D in FIG. 7C), via row interconnects, to implement a yet even longer or larger string of or interconnected multiplier-accumulator circuitry (i.e., increase the number of multiplier-accumulator circuits interconnected to implement or perform the multiply and accumulate operations) and, the output of the fourth row of multiplier-accumulator circuitry (see 2-NMAX Row D in FIG. 7C) may be connected to the input of adjacent or non-adjacent rows of multiplier-accumulator circuits (see 2-NMAX Row A and/or Row C in FIG. 7C) via the NLINX interface connector (in this illustrative embodiment of FIGS. 7A-7C, the NLINX multiplexers and conductors of the NLINX interface connector).

Thus, in one embodiment, the switch interconnect network connects to at least one multiplier-accumulator circuit in each row of multiplier-accumulator circuits to, among other things, provide flexibility in configuring, adjusting, modifying and/or changing (i) which multiplier-accumulator circuits (and/or rows of multiplier-accumulator circuits) are employed and/or interconnected to implement or perform the multiply and accumulate operations and/or (ii) the number of multiplier-accumulator circuits that are employed and/or interconnected to perform the multiply and accumulate operations. In one embodiment, configuration circuitry configures the interconnects, for example, via multiplexers/switches, of aspects of the switch interconnect network (in this illustrative embodiment, the NLINX interface connector) to employ or implement a particular number and configuration of the multiplier-accumulator circuits (and/or rows of multiplier-accumulator circuits). The configuration, selection, modification and/or adjustment may be implemented, for example, in situ (i.e., during operation of the integrated circuit) to, for example, perform or provide a particular operation and/or meet or exceed system requirements or constraints (e.g., temporal-based requirements or constraints). (See, e.g. FIG. 9).

Notably, any number of interconnected multiplier-accumulator circuits may be interconnected to implement or perform a concatenated multiply and accumulate operations. In the context of the embodiment illustrated in FIG. 7A-7C, any number of rows of multiplier-accumulator circuits may be connected (i.e., two, three, four, and so on) to implement or perform a concatenated multiply and accumulate operations. In fact, in one embodiment, all of the multiplier-accumulator circuitry in the logic tile (see, e.g. FIGS. 5B-5D and 7A) may be connected together to form a complete “ring” of multiplier-accumulator circuitry via the NLINX interface connector and row interconnects. Again, while the aforementioned discussion focuses, at times, on connecting rows of multiplier-accumulator circuits, it should be noted that in one embodiment any number of interconnected multiplier-accumulator circuitry may be interconnected to provide a desired configuration of the logic tile (i.e., interconnecting a plurality of multiplier-accumulator circuitry (see, e.g., FIG. 3)—that is, in one embodiment, any number from two multiplier-accumulator circuitry to all of the multiplier-accumulator circuitry in the logic tile may be interconnected to implement or perform concatenated multiply and accumulate operations).

The plurality of multiplier-accumulator circuitry of the logic tiles may be configured and reconfigured (e.g., in situ) to perform predetermined multiple-accumulate operations (e.g., operations typically performed by neural networks). In one embodiment, the plurality of multiplier-accumulator circuitry of the plurality of logic tiles may be configured to perform convolution (i.e., a 3D operation (WxHxDin×Dout). For example, with reference to FIG. 9, in one embodiment, the plurality of multiplier-accumulator circuitry of the logic tiles may be organized/configured into systolic arrays to implement the three layers of convolution. Briefly, the processing of Operation A may be implemented via two rows of interconnected multiplier-accumulator circuitry of 256 NMAX, each would require eight rows of 16 2-NMAX rows (see, FIGS. 7A-7C). The result of Operation A (see OUT) is summed and may be stored in local memory and/or output to processing circuitry (e.g., a DSP) via the interconnect network for further data processing. The processing of Operation B may be implemented via 9 rows of interconnected multiplier-accumulator circuitry of 256 NMAX each. The result of Operation B (see OUT) is summed and may also be stored in local memory and/or output to processing circuitry (e.g., a DSP) via the interconnect network for further data processing. The processing of Operation C may be implemented via 4 rows of interconnected multiplier-accumulator circuitry of 256 NMAX each. The results of Operation C (see OUT) may again be stored in local memory and/or output to processing circuitry (e.g., a DSP) via the interconnect network for further data processing.

In one embodiment, the switch interconnect network is employed to, among other things, provide flexibility in configuring, adjusting, modifying and/or changing (i) which multiplier-accumulator circuits (and/or rows of multiplier-accumulator circuits) are employed and/or interconnected to implement or perform the multiply and accumulate operations and/or (ii) the number of multiplier-accumulator circuits that are employed and/or interconnected to perform the multiply and accumulate operations. That configuration, selection, modification and/or adjustment may be implemented, for example, in situ (i.e., during operation of the integrated circuit).

Notably, the operations, configurations and systolic arrays illustrated in FIG. 9 are exemplary. The inventions are not limited to processes and/or algorithms implemented in accordance with such exemplary operations, configurations and/or arrays but are intended to cover, among other things, any operations, configurations and/or arrays now known or later developed.

In the context of neural networks, it may be advantageous to employ program the configuration of the multiplier-accumulator circuitry using an inference language (e.g., Gaffe or TF). For example, with reference to FIG. 10, in one embodiment, a 2-stage 4×4 fully connected layer exemplary configuration maps directly to multiplier-accumulator circuitry and architecture of the present inventions. The configurable and reconfigurable logic of the FPGA facilitates implementation of control logic (e.g., load/unload and data path control) employed.

There are many inventions described and illustrated herein. While certain embodiments, features, attributes and advantages of the inventions have been described and illustrated, it should be understood that many others, as well as different and/or similar embodiments, features, attributes and advantages of the present inventions, are apparent from the description and illustrations. As such, the embodiments, features, attributes and advantages of the inventions described and illustrated herein are not exhaustive and it should be understood that such other, similar, as well as different, embodiments, features, attributes and advantages of the present inventions are within the scope of the present inventions.

For example, the stages of the multiplier-accumulator circuitry may be more fully pipelined and/or written to memory. (See, e.g., FIGS. 11A-11E). Here again, shadow registers (e.g., within the multiplier-accumulator circuitry—see FIG. 1A) are employed to facilitate or implement the pipelined operations.

Moreover, the multiplier-accumulator circuitry may be configured and/or reconfigured (e.g., at start-up and/or in situ) to implement any functions employing multiply and accumulate operations now known or later developed. For example, in one embodiment, the output of a multiplier-accumulator circuit of the circuitry may be connected to an input of earlier multiplier-accumulator circuit in the series of circuitry. For example, with reference to FIG. 12, a plurality of interconnected multiplier-accumulator circuitry (for example, each having a plurality (e.g., two) multiplier-accumulator circuits—for example, a first including multiplier 0 and accumulator 0 and a second circuit including multiplier 1 and accumulator 1, like that of FIG. 1A), may be connected in series to perform/implement the multiply and accumulate operations in a concatenated manner (see, e.g., FIGS. 2A and 11A). Here, the multiplier-accumulator circuitry output/provide a partially completed operation (e.g., at output MAC O—see, e.g., FIG. 1A) to an input of a successive multiplier-accumulator circuitry (e.g., at input MAC I—see, FIG. 1A) to process data, in a concatenated manner, wherein the output of a multiplier-accumulator circuitry X is configurable to be applied or input into a preceding multiplier-accumulator circuitry A (in FIG. 12, the multiplier-accumulator circuit (e.g. MAC_I) of multiplier-accumulator circuitry A (via control of the input selection circuit). Thus, the output of a subsequent or later multiplier-accumulator circuit (e.g., the final multiplier-accumulator of a series—here, the multiplier-accumulator circuit of multiplier-accumulator circuitry X) is concatenated back to the input of a preceding multiplier-accumulator circuit (e.g., the first (e.g. MAC_I) of multiplier-accumulator circuit of multiplier-accumulator circuitry A) to implement a multiplier-accumulator circuitry configuration.

With continued reference to FIG. 12, the multiplier-accumulator circuitry may be configured to form a pipeline and/or reconfigured to form one or more different pipelines. Here, in one embodiment, the multiplier-accumulator circuitry may receive multiple-accumulation data, via control of the input selection circuit (e.g., multiplexer), from (i) a multiplier-accumulator circuit of multiplier-accumulator circuitry X (i.e., the same ring or same MAC pipeline) or (ii) a multiplier-accumulator circuit of another multiplier-accumulator circuitry (e.g., a multiplier-accumulator circuit in the same ring/MAC pipeline or another ring/MAC pipeline) of the configuration. All combinations and permutations are intended to fall within the scope of the present inventions.

For example, with reference to FIGS. 13A, 13B and 13C, the multiplier-accumulator circuits may be configured and/or reconfigured (e.g., at start-up and/or in situ (i.e., after start-up/initialization and during operation of the integrated circuit)) to form one or more MAC pipeline which implement any function(s) employing multiply and accumulate operations now known or later developed. In a first configuration (e.g., a first layer of convolution), the multiplier-accumulator circuits may be configured (here, interconnected in a concatenated manner into a plurality of MAC pipelines—see the signal paths (including the arrows to indicate the direction of the multiple-accumulate operations of the MAC pipeline paths) in the NMAX Clusters blocks/sections of the logic tile) to implement a plurality of multiply and accumulation operations of each MAC pipeline (FIG. 13B). This may be consistent with, for example, the first layer of convolution. Thereafter (e.g., upon completion of the operations of the MAC pipelines of the first configuration), one or more (or all) of the multiplier-accumulator circuits may be reconfigured into a second configuration (e.g., a second or subsequent layer of convolution) of interconnected multiplier-accumulator circuits forming one or more different MAC pipelines to thereby implement multiply accumulation operations consistent with, for example, the second layer of convolution (FIG. 13C).

In addition thereto, or in lieu thereof, the memory connected to the I/O of the logic tile may also be configured and/or reconfigured (e.g., at start-up and/or in situ (i.e., after start-up/initialization and during operation of the integrated circuit)) to support or implement the operations of the multiplier-accumulator circuits (interconnected into one or more MAC pipelines) of the associated logic tile. That is, the memory may be configured such that certain memory may be configured as dedicated read memory (in which data is read from the memory) connected to one or more MAC pipelines of a first configuration and certain other memory may be configured as dedicated write memory (in which data is stored in the memory) connected to one or more MAC pipelines of a first configuration. For example, with reference to FIG. 13B, in a first configuration (e.g., a first layer of convolution), Memory A (e.g., SRAM) is dedicated to read data from (output data) in connection with the multiply and accumulation operations of the multiplier-accumulator circuits of the MAC pipelines of the first configuration and Memory B (e.g., SRAM) is dedicated to write to (store data) in connection with the multiply and accumulation operations of the multiplier-accumulator circuits of the MAC pipelines of the first configuration. In a second configuration, when the one or more (or all) of the multiplier-accumulator circuits are reconfigured into one or more MAC pipelines, which may be the same or different from the MAC pipelines of the first configuration, (e.g., a second or subsequent layer of convolution), with reference to FIG. 13C, Memory A (e.g., SRAM) is dedicated to write to (store data) in connection with the multiply accumulation operations of the multiplier-accumulator circuits of the MAC pipelines of the second configuration and Memory B (e.g., SRAM) is dedicated to read data from (output data) in connection with the multiply accumulation operations of the multiplier-accumulator circuits of the MAC pipelines of the second configuration.

In one embodiment, the logic circuitry of the logic tile implements a configuration and/or reconfiguration of the memory via controlling the operation of the memory. In this regard, the logic circuitry applies control and address, in conjunction or coordination with the data to be applied to (a read operation) and/or received from (a write operation) the multiplier-accumulator circuits of the MAC pipelines of the logic tiles. (See, e.g., FIGS. 13B and 13C). For example, the logic circuitry may control the memory to be a dedicated read memory (in which data is read from the memory) in one configuration (which, in one embodiment, is a particular configuration of interconnected the multiplier-accumulator circuits forming one or more MAC pipelines) and thereafter such memory may be configured as dedicated write memory (in which data is stored in the memory) in another configuration of interconnected the multiplier-accumulator circuits forming one or more MAC pipelines (which may be the same or different from the MAC pipelines of the first configuration). (Compare the Memory A of FIG. 13B (dedicated read) to FIG. 13C (dedicated write)). Notably, the memory may be synchronous or asynchronous type memory (e.g., SRAM).

As indicated above, the configuration, selection, modification and/or adjustment of the interconnected plurality of multiplier-accumulator circuitry (and memory) may be implemented, for example, in situ (i.e., during operation of the integrated circuit) to, for example, perform or provide a particular operation and/or meet or exceed system requirements or constraints (e.g., temporal-based requirements or constraints). (See, e.g. FIGS. 9, 13B and 13C). For example, the multiplier-accumulator circuits of the MAC pipelines may be configured and/or re-configured to form one or more MAC pipelines (whether the same or different) in situ (i.e., during operation of the integrated circuit) to, for example, perform, execute or provide particular operations (e.g., multiple layers of convolution). Moreover, re-configuration of the multiplier-accumulator circuitry from the first configuration (see FIG. 13B (interconnected multiplier-accumulator circuits forming a plurality of MAC pipelines)) to the second configuration (FIG. 13C (interconnected multiplier-accumulator circuits forming a plurality of MAC pipelines the same as or different from the plurality of MAC pipelines of the first configuration)) may be sequential and, in one embodiment, immediately after completion of the multiply accumulation operations of the multiplier-accumulator circuits of the MAC pipelines of the first configuration. Indeed, the data processing performed by MAC pipeline(s) of given configuration may input data of the data processing performed by MAC pipeline(s) of another configuration (which may or may not be sequential processing operations).

As intimated above, in one embodiment, the connections between the multiplier-accumulator circuits and/or rows of multiplier-accumulator circuits to form one or more MAC pipeline(s) of a configuration and re-configuration is provided via the NLINX interface connector(s) and/or the switch interconnect network. (See, e.g., FIGS. 7A-7C and 13A-13C). Here, the NLINX interface connector(s) and/or the switch interconnect network may be controlled or configured to interconnect multiplier-accumulator circuits and/or rows of multiplier-accumulator circuits to form one or more MAC pipeline(s).

Indeed, the multiplier-accumulator circuits may be interconnected into MAC processing pipelines as described and/or illustrated in U.S. Provisional Patent Application No. 63/012,111; the '111 application is incorporated by reference herein in its entirety. In one embodiment, the circuitry configures and controls a plurality of separate multiplier-accumulator circuits or rows/banks of interconnected (in series) multiplier-accumulator circuits (referred to, at times, as NMAX Clusters) to pipeline multiply and accumulate operations. The interconnection of the pipeline or pipelines are configurable or programmable to provide different forms of pipelining. (See, e.g., the '111 application). Here, the pipelining architecture provided by the interconnection of the plurality of multiplier-accumulator circuits may be controllable or programmable. In this way, a plurality of multiplier-accumulator circuits may be configured and/or re-configured to form or provide a desired processing pipeline(s) to process data (e.g., image data). For example, with reference to the '111 application, in one embodiment, control/configure circuitry may configure the multiplier-accumulator circuits, or rows/banks of interconnected multiplier-accumulator circuits are connected (in series) to perform the multiply and accumulate operations and/or the linear pipelining architecture or configuration implemented via connection of multiplier-accumulator circuits (or rows/banks of interconnected multiplier-accumulator circuits). Thus, the control/configure or NLINX circuitry may configure or implement an architecture of the MAC pipeline by controlling or providing connection(s) between multiplier-accumulator circuits and/or rows of interconnected multiplier-accumulator circuits.

As noted above, the memory connected to the MAC pipeline, via I/O of the logic tile, may also be configured and/or reconfigured (e.g., at start-up and/or in situ (i.e., after start-up/initialization and during operation of the integrated circuit)) to support or implement the operations of the multiplier-accumulator circuits (interconnected into one or more MAC pipelines) of the associated logic tile. Here, the memory (e.g., L2 memory such as SRAM) is external to the logic tile and its operation (e.g., dedicated read or dedicated write) may be configured and/or reconfigured via logic/control circuitry in the logic tile in conjunction with the configuration of the MAC pipeline to which it is coupled during performance of an processing operation. (See, FIGS. 13B and 13C).

In describing and illustrating certain aspects of the present inventions, certain drawings have been simplified for the purposes of clarity in order to describe, focus, highlight and/or illustrate certain aspects of the circuitry and the techniques of the present inventions. For example, the logic tiles illustrated in FIGS. 13B and 13C have been simplified for the purposes of clarity in order to describe, focus, highlight and/or illustrate certain aspects of the circuitry and techniques of the present inventions. Here, although not illustrated in FIGS. 13B and 13C, the logic tile, in one embodiment, includes tile-to-tile interconnects, the NLINX interface connector, NLINX multiplexers and row interconnects are not illustrated (see, e.g., FIGS. 7A-7C and FIG. 13A).

Importantly, the present inventions are neither limited to any single aspect nor embodiment thereof, nor to any combinations and/or permutations of such aspects and/or embodiments. Moreover, each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects of the present inventions and/or embodiments thereof.

Further, although the memory cells in certain embodiments are illustrated as static memory cells or storage elements, the present inventions may employ dynamic or static memory cells or storage elements. Indeed, as stated above, such memory cells may be latches, flip/flops or any other static/dynamic memory cell or memory cell circuit or storage element now known or later developed.

Notably, various circuits, circuitry and techniques disclosed herein may be described using computer aided design tools and expressed (or represented), as data and/or instructions embodied in various computer-readable media, in terms of their behavioral, register transfer, logic component, transistor, layout geometries, and/or other characteristics. Formats of files and other objects in which such circuit, circuitry, layout and routing expressions may be implemented include, but are not limited to, formats supporting behavioral languages such as C, Verilog, and HLDL, formats supporting register level description languages like RTL, and formats supporting geometry description languages such as GDSII, GDSIII, GDSIV, CIF, MEBES and any other formats and/or languages now known or later developed. Computer-readable media in which such formatted data and/or instructions may be embodied include, but are not limited to, non-volatile storage media in various forms (e.g., optical, magnetic or semiconductor storage media) and carrier waves that may be used to transfer such formatted data and/or instructions through wireless, optical, or wired signaling media or any combination thereof. Examples of transfers of such formatted data and/or instructions by carrier waves include, but are not limited to, transfers (uploads, downloads, e-mail, etc.) over the Internet and/or other computer networks via one or more data transfer protocols (e.g., HTTP, FTP, SMTP, etc.).

Indeed, when received within a computer system via one or more computer-readable media, such data and/or instruction-based expressions of the above described circuits may be processed by a processing entity (e.g., one or more processors) within the computer system in conjunction with execution of one or more other computer programs including, without limitation, net-list generation programs, place and route programs and the like, to generate a representation or image of a physical manifestation of such circuits. Such representation or image may thereafter be used in device fabrication, for example, by enabling generation of one or more masks that are used to form various components of the circuits in a device fabrication process.

Moreover, the various circuits, circuitry and techniques disclosed herein may be represented via simulations using computer aided design and/or testing tools. The simulation of the circuits, circuitry, layout and routing, and/or techniques implemented thereby, may be implemented by a computer system wherein characteristics and operations of such circuits, circuitry, layout and techniques implemented thereby, are imitated, replicated and/or predicted via a computer system. The present inventions are also directed to such simulations of the inventive circuits, circuitry and/or techniques implemented thereby, and, as such, are intended to fall within the scope of the present inventions. The computer-readable media corresponding to such simulations and/or testing tools are also intended to fall within the scope of the present inventions.

Notably, reference herein to “one embodiment” or “an embodiment” (or the like) means that a particular feature, structure, or characteristic described in connection with the embodiment may be included, employed and/or incorporated in one, some or all of the embodiments of the present inventions. The usages or appearances of the phrase “in one embodiment” or “in another embodiment” (or the like) in the specification are not referring to the same embodiment, nor are separate or alternative embodiments necessarily mutually exclusive of one or more other embodiments, nor limited to a single exclusive embodiment. The same applies to the term “implementation.” The present inventions are neither limited to any single aspect nor embodiment thereof, nor to any combinations and/or permutations of such aspects and/or embodiments. Moreover, each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects of the present inventions and/or embodiments thereof. For the sake of brevity, certain permutations and combinations are not discussed and/or illustrated separately herein.

Further, as noted above, an embodiment or implementation described herein as “exemplary” is not to be construed as ideal, preferred or advantageous, for example, over other embodiments or implementations; rather, it is intended convey or indicate the embodiment or embodiments are example embodiment(s).

Although the present inventions have been described in certain specific aspects, many additional modifications and variations would be apparent to those skilled in the art. It is therefore to be understood that the present inventions may be practiced otherwise than specifically described without departing from the scope and spirit of the present inventions. Thus, embodiments of the present inventions should be considered in all respects as illustrative/exemplary and not restrictive.

The terms “comprises,” “comprising,” “includes,” “including,” “have,” and “having” or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, circuit, article, integrated circuit or apparatus that includes/comprises a list of elements, components, steps (etc.) does not include only those elements, components, steps (etc.) but may include other elements, components, steps (etc.) not expressly listed or inherent to such process, method, circuit, article, integrated circuit or apparatus. Further, use of the terms “connect”, “connected”, “connecting” or “connection” throughout this document should be broadly interpreted to include direct or indirect (e.g., via one or more conductors and/or intermediate devices/elements (active or passive) and/or via inductive or capacitive coupling)) unless intended otherwise (e.g., use of the terms “directly connect” or “directly connected”).

The terms “a” and “an” herein do not denote a limitation of quantity, but rather denote the presence of at least one of the referenced item. Further, the terms “first,” “second,” and the like, herein do not denote any order, quantity, or importance, but rather are used to distinguish one element from another.

The term “logic tile” means a design unit or block of a plurality of transistors (typically more than thousands), which, in this application, is capable of connecting to a plurality of other (e.g., neighboring or adjacent) logic tiles, logic cells, logic cores, configurable logic blocks, logic array blocks and/or logic blocks.

The term “integrated circuit” means, among other things, any integrated circuit including, for example, a generic or non-specific integrated circuit, processor, controller, state machine, gate array, SoC, PGA and/or FPGA. The term “integrated circuit” also means any integrated circuit (e.g., processor, controller, state machine and SoC)—including an embedded FPGA.

Further, the term “multiplexers” means multiplexers and/or switches. The term “circuitry”, means, among other things, a circuit (whether integrated or otherwise), a group of such circuits, one or more processors, one or more state machines, one or more processors implementing software, one or more gate arrays, programmable gate arrays and/or field programmable gate arrays, or a combination of one or more circuits (whether integrated or otherwise), one or more state machines, one or more processors, one or more processors implementing software, one or more gate arrays, programmable gate arrays and/or field programmable gate arrays. In addition, the term “data” means, among other things, information (plural or singular), for example, provided or contained in a current or voltage signal(s) and/or stored in memory or the like), whether in an analog or a digital form, which may be a single bit (or the like) or multiple bits (or the like).

The term “MAC circuit” means a multiplier-accumulator circuit, for example, like that described and illustrated in the exemplary embodiment of FIGS. 1A-1C, and the text associated therewith. Notably, however, the term “MAC circuit” is not limited to the particular multiplier-accumulator circuit, logical, block, functional and/or physical diagrams, block/data width, data path width, bandwidths, and processes illustrated and/or described in accordance with, for example, the exemplary embodiment of FIGS. 1A-1C. The term “in situ”, in the context of this application, means during normal operation of the integrated circuit—and after power-up, start-up or completion of the initialization sequence/process thereof. The term data processing operation means any operation to process data (e.g., image and/or audio data) including, for example, digital signal processing, filtering, and/or other forms of data manipulation and/or transformation, whether now known or later developed.

In the claims, “row” means, row, column, and/or row and column unless expressly stated otherwise. For example, in the claims, a “row of the multiplier-accumulator circuits” means (i) a row of multiplier-accumulator circuits, (ii) a column row of multiplier-accumulator circuits, and/or (iii) a row of multiplier-accumulator circuits and a column of multiplier-accumulator circuits—all of which are intended to fall within the meaning of row of multiplier-accumulator circuits in connection with the scope of the claim. Notably, the limitations of the claims are not written in means-plus-function format or step-plus-function format. It is applicant's intention that none of the limitations be interpreted pursuant to 35 USC § 112, ¶6 or § 112(f), unless such claim limitations expressly use the phrase “means for” or “step for” followed by a statement of function and void of any specific structure. 

What is claimed is:
 1. An integrated circuit comprising: multiplier-accumulator circuitry, configurable in a concatenation architecture, to perform a plurality of multiply and accumulate operations, wherein the multiplier-accumulator circuitry includes a plurality of multiplier-accumulator circuits, wherein each multiplier-accumulator circuit includes: a multiplier to multiply data by a weight data and generate a product data, and an accumulator, coupled to the multiplier of the associated multiplier-accumulator circuit, to add input data and the product data of the associated multiplier to generate sum data, and wherein the plurality of multiplier-accumulator circuits is connected in series to perform a plurality of concatenated multiply and accumulate operations; a switch interconnect network, coupled to the multiplier-accumulator circuitry, including a plurality of configurable multiplexers arranged in a plurality of switch matrices; first memory, coupled to the switch interconnect network and the multiplier-accumulator circuitry; second memory, coupled to the switch interconnect network and the multiplier-accumulator circuitry; weight memory to store weight data and to output the weight data to the multipliers; wherein, during a first data processing operation, a first plurality of the multiplier-accumulator circuits are serially connected into a first MAC pipeline to perform a plurality of concatenated multiply and accumulate operations of the first data processing operation, and wherein: during the first data processing operation (i) the first memory is coupled, via the switch interconnect network, to the first MAC pipeline to output data to the first MAC pipeline, and (ii) the second memory is coupled, via the switch interconnect network, to input data from the first MAC pipeline, and wherein, during the first data processing operation, the first memory is dedicated to write data to the first MAC pipeline and the second memory is dedicated to read data from the first MAC pipeline; and wherein, during a second data processing operation, a second plurality of the multiplier-accumulator circuits are serially connected into a second MAC pipeline to perform a plurality of concatenated multiply and accumulate operations of the second data processing operation, and wherein: during the second data processing operation (i) the first memory is coupled, via the switch interconnect network, to the second MAC pipeline to input data from the second MAC pipeline, and (ii) the second memory is coupled, via the switch interconnect network, to the second MAC pipeline to output data to the second MAC pipeline, and wherein, during the second data processing operation, the first memory is dedicated to read data from the second MAC pipeline and the second memory is dedicated to write data to the second MAC pipeline.
 2. The integrated circuit of claim 1 wherein: after the first plurality of multiplier-accumulator circuits of the first MAC pipeline complete the first data processing operation, the second plurality of the multiplier-accumulator circuits are serially connected into the second MAC pipeline, in situ.
 3. The integrated circuit of claim 1 wherein: the plurality of switch matrices of the switch interconnect network are arranged in a plurality of switch matrix stages interconnected in a hierarchical interconnect network.
 4. The integrated circuit of claim 1 further including: configurable interface circuitry coupled to the switch interconnect network and the multiplier-accumulator circuitry, wherein the configurable interface circuitry includes one or more multiplexers, responsively configured, to connect the multiplier-accumulator circuits of the first MAC pipeline to the switch interconnect network during the first data processing operation.
 5. The integrated circuit of claim 4 wherein: the multiplexers of the configurable interface circuitry are responsively configured, in situ, to connect the multiplier-accumulator circuits of the second MAC pipeline to the switch interconnect network during the second data processing operation.
 6. The integrated circuit of claim 1 wherein: the configurable multiplexers of the switch interconnect network of each logic tile are responsively configured, in situ, to connect the multiplier-accumulator circuits of the second plurality of MAC pipelines to the configurable interface circuitry during the second data processing operations
 7. The integrated circuit of claim 1 wherein the plurality of multiplier-accumulator circuits are organized into a plurality of rows, wherein each row includes a plurality of serially interconnected multiplier-accumulator circuits, and the integrated circuit further includes: configurable interface circuitry coupled to the switch interconnect network and the multiplier-accumulator circuitry, wherein the configurable interface circuitry includes one or more multiplexers, responsively configured, to serially connect a predetermined number of rows of the multiplier-accumulator circuits into the first MAC pipeline during the first data processing operation.
 8. The integrated circuit of claim 7 wherein: the multiplexers of the configurable interface circuitry are responsively configured to connect a predetermined number of rows of the multiplier-accumulator circuits into the second MAC pipeline during the second data processing operation.
 9. The integrated circuit of claim 8 wherein: at least one row of the plurality of rows of multiplier-accumulator circuits of the first MAC pipeline is different from the plurality of rows of the multiplier-accumulator circuits of the second MAC pipeline, or at least one row of the plurality of rows of multiplier-accumulator circuits of the second MAC pipeline is different from the plurality of rows of the multiplier-accumulator circuits of the first MAC pipeline.
 10. The integrated circuit of claim 1 wherein: immediately after the first plurality of multiplier-accumulator circuits of the first MAC pipeline complete the first data processing operation, the second plurality of the multiplier-accumulator circuits are serially connected into the second MAC pipeline, in situ.
 11. An integrated circuit comprising: multiplier-accumulator circuitry, configurable in a concatenation architecture, to perform a plurality of multiply and accumulate operations, wherein the multiplier-accumulator circuitry includes a plurality of multiplier-accumulator circuits, wherein each multiplier-accumulator circuit includes: a multiplier to multiply data by a weight data and generate a product data, and an accumulator, coupled to the multiplier of the associated multiplier-accumulator circuit, to add input data and the product data of the associated multiplier to generate sum data, and wherein the multiplier-accumulator circuits are connected in series to perform a plurality of concatenated multiply and accumulate operations; configurable interface circuitry, coupled to the plurality of multiplier-accumulator circuits of the multiplier-accumulator circuitry, to: responsively configure a first plurality of multiplier-accumulator circuits of the multiplier-accumulator circuitry into a first MAC pipeline to perform a first data processing operation, and responsively configure, in situ, a second plurality of multiplier-accumulator circuits of the multiplier-accumulator circuitry into a second MAC pipeline to perform a second data processing operation; first memory coupled, via the configurable interface circuitry, to the multiplier-accumulator circuitry; second memory coupled, via the configurable interface circuitry, to the multiplier-accumulator circuitry; weight memory to store the weight data and output the weight data to the multipliers; wherein, during the first data processing operation, the first plurality of the multiplier-accumulator circuits are serially connected into the first MAC pipeline to perform a plurality of concatenated multiply and accumulate operations of the first data processing operation, and wherein: during the first data processing operation (i) the first memory is coupled, via the configurable interface circuitry, to the first MAC pipeline to output data thereto, and (ii) the second memory is coupled, via the configurable interface circuitry, to input data therefrom, and wherein, during the first data processing operation, the first memory is dedicated to write data to the first MAC pipeline and the second memory is dedicated to read data from the first MAC pipeline; and wherein, during the second data processing operation, the second plurality of the multiplier-accumulator circuits are serially connected into the second MAC pipeline to perform a plurality of concatenated multiply and accumulate operations of the second data processing operation, and wherein: during the second data processing operation (i) the first memory is coupled, via the configurable interface circuitry, to the second MAC pipeline to input data therefrom, and (ii) the second memory is coupled, via the configurable interface circuitry, to the second MAC pipeline to output data thereto, and wherein, during the second data processing operation, the first memory is dedicated to read data from the second MAC pipeline and the second memory is dedicated to write data to the second MAC pipeline.
 12. The integrated circuit of claim 11 wherein: after the first plurality of multiplier-accumulator circuits of the first MAC pipeline complete the first data processing operation, the second plurality of the multiplier-accumulator circuits are serially connected into the second MAC pipeline, in situ.
 13. The integrated circuit of claim 11 wherein: the plurality of multiplier-accumulator circuits are organized into a plurality of rows, wherein each row includes a plurality of serially interconnected multiplier-accumulator circuits, and the configurable interface circuitry includes one or more multiplexers, responsively configured, to serially connect a predetermined number of rows of the multiplier-accumulator circuits into the first MAC pipeline during the first data processing operation.
 14. The integrated circuit of claim 13 wherein: the multiplexers of the configurable interface circuitry are responsively configured to serially connect a predetermined number of rows of the multiplier-accumulator circuits into the second MAC pipeline during the second data processing operation.
 15. The integrated circuit of claim 14 wherein: at least one row of the plurality of rows of multiplier-accumulator circuits of the first MAC pipeline is different from the plurality of rows of the multiplier-accumulator circuits of the second MAC pipeline, or at least one row of the plurality of rows of multiplier-accumulator circuits of the second MAC pipeline is different from the plurality of rows of the multiplier-accumulator circuits of the first MAC pipeline.
 16. The integrated circuit of claim 11 wherein: immediately after the first plurality of multiplier-accumulator circuits of the first MAC pipeline complete the first data processing operation, the configurable interface circuitry serially connect, in situ, the second plurality of the multiplier-accumulator circuits into the second MAC pipeline.
 17. An integrated circuit comprising: first memory; second memory; and a plurality of logic tiles, arranged in a plurality of rows and/or a plurality of columns, wherein the first memory and second memory are located external to the plurality of logic tiles, and wherein the logic tiles include: multiplier-accumulator circuitry to perform a plurality of multiply and accumulate operations, wherein the multiplier-accumulator circuitry includes a plurality of multiplier-accumulator circuits, wherein each multiplier-accumulator circuit includes: a multiplier to multiply data by a weight data and generate a product data, and an accumulator, coupled to the multiplier of the associated multiplier-accumulator circuit, to add input data and the product data of the associated multiplier to generate sum data, and wherein the multiplier-accumulator circuits are connected in series to perform a plurality of concatenated multiply and accumulate operations; configurable interface circuitry, coupled to a plurality of multiplier-accumulator circuits of the multiplier-accumulator circuitry, to: responsively configure a first plurality of multiplier-accumulator circuits of the multiplier-accumulator circuitry into a first plurality of MAC pipelines to perform first data processing operations, and responsively configure, in situ, a second plurality of multiplier-accumulator circuits of the multiplier-accumulator circuitry into a second plurality of MAC pipelines to perform second data processing operations; wherein, during the first data processing operations, the first plurality of the multiplier-accumulator circuits are serially connected into the first plurality of MAC pipelines to perform a plurality of concatenated multiply and accumulate operations of the first data processing operations, and wherein: during the first data processing operations (i) the first memory is coupled, via the configurable interface circuitry, to the first MAC plurality of pipelines to output data to first MAC plurality of pipelines, and (ii) the second memory is coupled, via the configurable interface circuitry, to input data from the first plurality of MAC pipelines, and wherein, during the first data processing operations, the first memory is dedicated to write data to the first plurality of MAC pipelines and the second memory is dedicated to read data from the first plurality of MAC pipelines; and wherein, during the second data processing operations, the second plurality of the multiplier-accumulator circuits are serially connected into the second plurality of MAC pipelines to perform a plurality of concatenated multiply and accumulate operations of the second data processing operations, and wherein: during the second data processing operation (i) the first memory is coupled, via the configurable interface circuitry, to the second plurality of MAC pipelines to input data from the second plurality of MAC pipelines, and (ii) the second memory is coupled, via the configurable interface circuitry, to the second MAC pipelines to output data to the second plurality of MAC pipelines, and wherein, during the second data processing operation, the first memory is dedicated to read data from the second plurality of MAC pipelines and the second memory is dedicated to write data to the second plurality of MAC pipelines.
 18. The integrated circuit of claim 17 wherein: the plurality of multiplier-accumulator circuits are organized into a plurality of rows, wherein each row includes a plurality of serially interconnected multiplier-accumulator circuits, and the configurable interface circuitry includes one or more multiplexers, responsively configured, to serially connect a predetermined number of rows of the multiplier-accumulator circuits into the first plurality of MAC pipelines during the first data processing operation.
 19. The integrated circuit of claim 18 wherein: the multiplexers of the configurable interface circuitry are responsively configured to serially connect a predetermined number of rows of the multiplier-accumulator circuits into the second plurality of MAC pipelines during the second data processing operation.
 20. The integrated circuit of claim 19 wherein: at least one row of the plurality of rows of multiplier-accumulator circuits of the first plurality of MAC pipelines is different from the plurality of rows of the multiplier-accumulator circuits of the second plurality of MAC pipeline, or at least one the row of the plurality of rows of multiplier-accumulator circuits of the second plurality of MAC pipeline is different from the plurality of rows of the multiplier-accumulator circuits of the first plurality of MAC pipeline.
 21. The integrated circuit of claim 17 wherein: each logic tile of the plurality of logic tiles includes a switch interconnect network, coupled between the configurable interface circuitry and the first and second memories, wherein the switch interconnect network includes a plurality of configurable multiplexers arranged in a plurality of switch matrices to: connect the first plurality of MAC pipelines to the first and second memories, via the configurable interface circuitry, during performance of the first data processing operations, and connect the second plurality of MAC pipelines to the first and second memories, via the configurable interface circuitry, during performance of the second data processing operations.
 22. The integrated circuit of claim 21 wherein: the plurality of switch matrices of the switch interconnect network are arranged in a plurality of switch matrix stages interconnected in a hierarchical interconnect network.
 23. The integrated circuit of claim 21 wherein: the configurable multiplexers of the switch interconnect network of each logic tile are responsively configured, in situ, to connect the multiplier-accumulator circuits of the second plurality of MAC pipelines to the configurable interface circuitry during the second data processing operations. 